<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateCommonSmsMobileConfTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('common_sms_mobile_conf', function (Blueprint $table) {
            $table->increments('id');
            $table->string('mobile',20)->comment('号码');
            $table->integer('type',4)->comment('号码类型');
            $table->integer('status',4)->comment('状态');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('common_sms_mobile_conf');
    }
}
